*{
    margin: 0;
    padding: 0;
}
html,body{
    height: 100%;
}
ul,li,ol{
    list-style: none;
}
.main{
    width: 1200px;
    margin: 0 auto;
}
body{
    display: flex;
    flex-direction: column;
}
.clear{
    clear: both;
}

main{
    flex: 1;
    
    background-color: #f6f6ff;
    
    .swiper-container{
        width: 282px;
        height: 282px;
    }
    
    .normal{
        width:100%;
        height: 46px;
        background-color: #43240c;

        a{
            display: block;
            width: 220px;
            background-color: #fee44e;
            color: #43240c;
            height: 46px;
            line-height: 46px;
            text-align: center;
            font-size: 15px;

        }
    }

    .commodity{
        background-color: #f6f6f6;
        min-height: 400px;

        .cmd-info{
            width: 914px;
            height: 352px;
            overflow: hidden;
            margin-right: 5px;
            background-color: #fff;
            display: inline-block;

            .phons{
                width: 282px;
                height: 282px;
                margin: 35px 26px;
                display: inline-block;

                .swiper-container{
                    width: 100%;
                    height: 100%;
                    
                    

                    img{
                        width: 100%;
                        height: 100%;
                    }
                    
                }
            }

            .container{
                width: 534px;
                height: 282px;
                float: right;
                margin-top: 35px;
                margin-right: 46px;


                .cmd-title{
                    font-weight: 400;
                    font-size: 24px;
                    color: #43240c;
                    line-height: 33px;
                    margin-top: 5px;


                    .title-icon{
                        display: inline-block;
                        font-size: 0;
                        line-height: 20px;
                        vertical-align: middle;
                        margin-top: 5px;


                        .platform{
                            width: 24px;
                            height: 24px;
                            margin-right: 6px;
                        }
                        .free-postage{
                            width: 42px;
                            height: 24px;
                        }
                    }
                }


                .cmd-price{
                    width: 530px;
                    height: 87px;
                    font-size: 16px;
                    font-weight: 400;
                    color: #b1a9a5;
                    line-height: 22px;
                    background-color: #f5f5f5;
                    overflow: hidden;
                    margin-top: 10px;


                    .original-price{
                        text-decoration: line-through;
                        margin-top: 16px;
                        margin-left: 16px;
        
        
                        i{
                            font-style: normal;
                        }
                    }

                    .last-price{
                        font-size: 20px;
                        color: #ff4653;
                        line-height: 28px;
                        background-color: #f5f5f5;
                        margin-left: 16px;



                        .price{
                            font-size: 40px;
                            font-family: PingFangSC-Semibold;
                            font-weight: 600;
                            color: #fa585a;
                            line-height: 28px;
                        }

                        .coupon-info{
                            display: inline-block;
                            height: 16px;
                            background: #feeeee;
                            border-radius: 2px;
                            border: 1px solid #fa585a;
                            font-size: 12px;
                            text-align: center;
                            line-height: 17px;
                            margin-bottom: 4px;
                            margin-left: 4px;
                            vertical-align: middle;
                        }

                        .sale-num{
                            display: table-cell;
                            position: relative;
                            font-size: 16px;
                            font-weight: 400;
                            color: #b1a9a5;
                            line-height: 22px;
                            vertical-align: middle;
                            margin-top: 16px;
                            margin-right: 27px;
                            float: right;
                        }
                    }

                }
                .expire-date{
                    float: right;
                    position: relative;
                    font-size: 14px;
                    font-weight: 500;
                    color: #fa585a;
                    line-height: 20px;
                    margin-top: 27px;
                }

                .goTB-btn{
                    width: 224px;
                    height: 50px;
                    border-radius: 4px;
                    font-size: 18px;
                    font-weight: 500;
                    color: #fff;
                    line-height: 25px;
                    margin-top: 11px;
                    margin-bottom: 39px;
                    display: block;
                    float: right;
                    border: none;
                    outline: none;
                    cursor: pointer;
                }
            }
        }
     

        .shop-info{
            width: 270px;
            height: 352px;
            background-color: #fff;
            display: inline-block;
            border: 1px solid #fee44e;
            font-weight: 500;
            text-align: center;
            overflow: hidden;

            .content{
                display: table-cell;
                line-height: 31.5px;
                width: 273px;
                height: 63px;
                margin: 1px 0;
                background: linear-gradient(180deg,#fee44e,#fff 85%,#fff);
            
                .line{
                    display: inline-block;
                    width: 56px;
                    height: 1px;
                    opacity: .2;
                    background: #43240c;
                    vertical-align: middle;
                }

                .txt{
                    font-size: 14px;
                    color: #43240c;
                    vertical-align: middle;
                }

            }

            .shop-image{
                width: 150px;
                height: 150px;
                margin: 3px auto 0;
            }

            .shop-name{
                font-size: 18px;
                color: #43240c;
                line-height: 25px;
                text-align: center;
            }

            .shop-score{
                width: 168px;
                height: 44px;
                margin: 9px auto 17px;


                .character{
                    font-size: 14px;
                    color: #b1a9a5;
                    line-height: 20px;
                    display: flex;
                    justify-content: space-between;

                    li{
                        flex: 1;
                        text-align: center;
                    }
                }

                .score{
                    font-size: 14px;
                    color: #fb9547;
                    line-height: 20px;
                    display: flex;
                    justify-content: space-between;

                    li{
                        flex: 1;
                        text-align: center;
                    }
                }
            }
            
        }

        .cmd-detail{
            background-color: #fff;
            width: 1200px;
            margin-top: 7px;
            overflow: hidden;

            .imgs{
                font-size: 0;
                width: 790px;
                margin: 83px 285px 6px 27px;

                img{
                    width: 100%;
                    // height: 789px;
                }
            }
        }
    }
}
